﻿<html>
<head>
	<title>test</title>
	<script src="/static/js/jquery.js" type="text/javascript"></script>
	<script src="/static/js/jquery-validate.js" type="text/javascript"></script>
	<script src="/static/js/jquery-plugin.js" type="text/javascript"></script>
</head>
<body>
	<h1>yuyue  xitong</h1>
	
	<ul style="padding-left : 8px, left : 0, ">
		${current_backend()}
	</ul>
	<!--{include staff_menu}-->
	<form action="/service/shopManageEdit.php" id="indexform" method="post">
		
	
	<div>
		<table>
		<tr>
			<td>
				店舗名
			</td>
			<td>
				<input type="hidden" value="{$shop['id']}" name="shop_id" />
				<input type="text" value="{$shop['shop_name']}" name="shop_name" />
			</td>
		</tr>
		<tr>
			<td>
				営業時間
			</td>
			<td>
				<input type="text" value="{$shop['open_hour']}" name="open_hour" />
				<input type="text" value="{$shop['open_minute']}" name="open_minute" />
				～
				<input type="text" value="{$shop['close_hour']}" name="close_hour" />
				<input type="text" value="{$shop['close_minute']}" name="close_minute" />
			</td>
		</tr>
		<tr>
			<td>
				本店
			</td>
			<td>
				<!--{if $shop['first_shop']==0}-->
				<input type="checkbox" value="1" name="first_shop" />
				<!--{else}-->
				<input type="checkbox" value="1" name="first_shop" checked="checked"/>
				<!--{/if}-->
			</td>
		</tr>
		
		<tr>
			<td>
				店舗写真
			</td>
			<td>
				<input type="text" value="{$shop['shop_img']}" name="shop_img" />
			</td>
		</tr>
		<tr>
			<td>
				店舗紹介
			</td>
			<td>
				<textarea name="shop_introduce" >{$shop['shop_introduce']}</textarea>
			</td>
		</tr>
		<tr>
			<td>
				店長写真
			</td>
			<td>
				<input type="text" value="{$shop['store_manager_img']}" name="store_manager_img" />
			</td>
		</tr>
		<tr>
			<td>
				店長の話
			</td>
			<td>
				<textarea name="store_manager_introduce" >{$shop['store_manager_introduce']}</textarea>
			</td>
		</tr>
		<tr>
			<td>
				アクセス方法
			</td>
			<td>
				<textarea name="shop_access" >{$shop['shop_access']}</textarea>
			</td>
		</tr>
		<tr>
			<td>
				地図
			</td>
			<td>
				<input type="text" value="{$shop['map_url']}" name="map_url" />
			</td>
		</tr>
		<tr>
			<td>
				<input type="submit" value="新規登録" />
			</td>
		</tr>
		
		</table>
	<div>
	</form>
	<div>
		<a href="{$_SERVER['HTTP_REFERER']}">戻る</a>
	</div>
</body>
</html>
<script type="text/javascript"> 
	
</script> 
</html> 